package com.aspose.cells;

class zbvg extends zbz {
   zbvg(int var1) {
      this.c(574);
      this.b = var1;
      this.b(18);
      this.c = new byte[18];
   }

   private void a(int var1) {
      if (var1 > 65535) {
         var1 = 65535;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var1), 0, this.c, 2, 2);
   }

   private void d(int var1) {
      this.c[4] = (byte)var1;
   }

   void a(Worksheet var1) {
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.g()), 0, this.c, 0, 2);
      if (var1.isPageBreakPreview()) {
         this.c[1] = (byte)(this.c[1] | 8);
      }

      this.a(var1.getFirstVisibleRow());
      this.d(var1.getFirstVisibleColumn());
      int var2 = var1.x();
      if (var2 == -1) {
         this.c[6] = 64;
      } else {
         this.c[6] = (byte)var2;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.u()[1]), 0, this.c, 10, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.u()[0]), 0, this.c, 12, 2);
   }
}
